package com.ltkj.shop.mapper;

import java.util.List;
import com.ltkj.shop.domain.ShopRestaurant;

/**
 * 餐饮商户Mapper接口
 * 
 * @author xupf
 * @date 2023-08-29
 */
public interface ShopRestaurantMapper 
{
    /**
     * 查询餐饮商户
     * 
     * @param id 餐饮商户主键
     * @return 餐饮商户
     */
    public ShopRestaurant selectShopRestaurantById(Long id);

    /**
     * 查询餐饮商户列表
     * 
     * @param shopRestaurant 餐饮商户
     * @return 餐饮商户集合
     */
    public List<ShopRestaurant> selectShopRestaurantList(ShopRestaurant shopRestaurant);

    /**
     * 新增餐饮商户
     * 
     * @param shopRestaurant 餐饮商户
     * @return 结果
     */
    public int insertShopRestaurant(ShopRestaurant shopRestaurant);

    /**
     * 修改餐饮商户
     * 
     * @param shopRestaurant 餐饮商户
     * @return 结果
     */
    public int updateShopRestaurant(ShopRestaurant shopRestaurant);

    /**
     * 删除餐饮商户
     * 
     * @param id 餐饮商户主键
     * @return 结果
     */
    public int deleteShopRestaurantById(Long id);

    /**
     * 批量删除餐饮商户
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShopRestaurantByIds(Long[] ids);
}
